package cn.tedu.charging.perm.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@TableName("perm")
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class Perm {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "权限id")
    Long id;
    @ApiModelProperty(value = "权限名称")
    String permName;
    @ApiModelProperty(value = "父级权限")
    Long parentId;
    @ApiModelProperty(value = "权限路径")
    String path;
    @ApiModelProperty(value = "权限备注")
    String remark;
    @ApiModelProperty(value = "创建时间")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    Date updateTime;
}
